package edu.univercidade.tcc.server.service;

import java.security.Principal;
import java.util.Collection;

import org.springframework.roo.addon.layers.service.RooService;

import edu.univercidade.tcc.server.model.Issue;
import edu.univercidade.tcc.server.model.IssueStatus;
import edu.univercidade.tcc.server.model.Project;
import edu.univercidade.tcc.server.model.ProjectMember;

@RooService(domainTypes = { edu.univercidade.tcc.server.model.Issue.class })
public interface IssueService {
	void sendMessage(Issue issue, Principal principal);
	public Collection<Issue> findIssuesByProjectAndAssignedToAndIssueStatus(
			Project project, ProjectMember assignedTo, IssueStatus issueStatus);
	public void saveIssue(Issue issue, Principal principal);
}
